import 'package:flutter_house_manager/utils/RequestDio.dart';

import '../constants/index.dart';

Future<dynamic> getAnnounceListAPI() => requestdio.get(HTTP_PATH.ANNOUNCE_LIST);

//获取公告详情
Future<dynamic> getAnnounceDetailAPI(String id) =>
    requestdio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
